<%@page import="board.Board"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src='./board/board.js'></script>
</head>
<body>
<jsp:useBean id="boardVo" class="board.BoardVo"/>
<jsp:setProperty property="*" name="boardVo"/>
<%
Board board = new Board();
board.setVo(boardVo);
%>
<%
if(board.delete()){%>
	<div id='bb_title'>삭제되었습니다.</div><br/>
	<script>
		location.href="index.jsp?inc_contents=./board/list.jsp";
	</script>	
<%}else{
	out.print("삭제실패");		
}
%>
<input type='button' value='목록' id="brd_btnList">

</body>
</html>